@import "../../../customGlobal.scss";
.smooth-box {
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  align-items: center;
  background: white;
  z-index: 1;
  width: 100%;
  // position: sticky;
  // width: -webkit-fill-available;
  .smooth-style-button-oneCss,
  .smooth-style-button-oneCss0,
  .smooth-style-button-oneCss1,
  .smooth-style-button-oneCss2,
  .smooth-style-button-oneCss3,
  .smooth-style-button-oneCss4,
  .smooth-style-button-oneCss5,
  .smooth-style-button-oneCss6,
  .smooth-style-button-oneCss7,
  .smooth-style-button-oneCss8,
  .smooth-style-button-oneCss9,
  .smooth-style-button-oneCss10,
  .smooth-style-button-oneCss11,
  .smooth-style-button-oneCss12 {
    // box-shadow: 0rem 0.13rem 1.25rem 0rem rgba(37, 38, 41, 0.1);
    border-radius: 1rem;
    margin-left: 0.63rem;
    margin-right: 0.63rem;
    min-width: 4.94rem;
    max-width: 7rem;
    background: #ffffff;
    color: $LJLabelColor;
    border: 0.03rem solid #e3e5e8;
    .smooth-style-label-oneCss,
    .smooth-style-label-oneCss0,
    .smooth-style-label-oneCss1,
    .smooth-style-label-oneCss2,
    .smooth-style-label-oneCss3,
    .smooth-style-label-oneCss4,
    .smooth-style-label-oneCss5,
    .smooth-style-label-oneCss6,
    .smooth-style-label-oneCss7,
    .smooth-style-label-oneCss8,
    .smooth-style-label-oneCss9,
    .smooth-style-label-oneCss10,
    .smooth-style-label-oneCss11,
    .smooth-style-label-oneCss12 {
      font-size: 0.81rem;
      line-height: 0.81rem;
      color: $LJLabelColor;
      padding-left: 0.75rem;
      padding-right: 0.75rem;
      padding-top: 0.63rem;
      padding-bottom: 0.63rem;
    }
  }
}

.smooth-style-button-green,
.smooth-style-button-green0,
.smooth-style-button-green1,
.smooth-style-button-green2,
.smooth-style-button-green3,
.smooth-style-button-green4,
.smooth-style-button-green5,
.smooth-style-button-green6,
.smooth-style-button-green7,
.smooth-style-button-green8,
.smooth-style-button-green9,
.smooth-style-button-green10,
.smooth-style-button-green11,
.smooth-style-button-green12 {
  // box-shadow: 0rem 0.13rem 1.25rem 0rem rgba(37, 38, 41, 0.1);
  border-radius: 1rem;
  margin-left: 0.63rem;
  margin-right: 0.63rem;
  min-width: 4.94rem;
  max-width: 7rem;
  background: #f5f5f5;
  border: unset;
  color: #666666;
  .smooth-style-label-green,
  .smooth-style-label-green0,
  .smooth-style-label-green1,
  .smooth-style-label-green2,
  .smooth-style-label-green3,
  .smooth-style-label-green4,
  .smooth-style-label-green5,
  .smooth-style-label-green6,
  .smooth-style-label-green7,
  .smooth-style-label-green8,
  .smooth-style-label-green9,
  .smooth-style-label-green10,
  .smooth-style-label-green11,
  .smooth-style-label-green12 {
    font-size: 0.81rem;
    line-height: 0.81rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.63rem;
    padding-bottom: 0.63rem;
  }
}

.switch-block1 {
  width: 1rem;
  height: 3rem;
  background: #ffffff;
  z-index: 1;
  right: 0rem;
  position: absolute;
}

.switch-block2 {
  width: 1rem;
  height: 3rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, #ffffff 100%);
  z-index: 1;
  right: 1rem;
  position: absolute;
}

.switch-main-box {
  display: flex;
}

.ffive {
  min-width: 7rem !important;
}

.ffour {
  min-width: 6rem !important;
}

.fthree {
  min-width: 4.94rem !important;
}

.switch-unchecked {
  background: #ffffff !important;
}
.smooth-checked-oneCss {
  border-radius: 1rem;
  font-weight: normal !important;
  background: #ffca3a !important;
  color: $LJLabelColor !important;
  border: unset !important;
}

.smooth-checked-green {
  border-radius: 1rem;
  font-weight: bold !important;
  background: rgba(0, 207, 127, 0.12) !important;
  color: #00ba8c !important;
  border: unset !important;
}

.smooth-checked-font-oneCss {
  color: $LJLabelColor !important;
  font-size: 0.81rem !important;
  font-weight: bold !important;
}

.smooth-checked-font-green {
  color: #00ba8c !important;
  font-size: 0.81rem !important;
  font-weight: bold !important;
}
// 用于移动端去除滚动条
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.loading-box {
  height: 10rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.overFlowdefault {
  height: inherit;
}

.overFlowScroll {
  overflow: scroll;
}

@supports (top: env(safe-area-inset-top)) {
  .overFlowScroll {
    height: calc(100vh - 5.5rem - 5.025rem - 3.025rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
}

//  after iphone 11
@supports (top: constant(safe-area-inset-top)) {
  .overFlowScroll {
    height: calc(
      100vh - 5.5rem - 3.025rem - 5.025rem - constant(safe-area-inset-top)- constant(safe-area-inset-bottom)
    );
  }
}

.overFlowScroll1 {
  overflow: scroll;
}

@supports (top: env(safe-area-inset-top)) {
  .overFlowScroll1 {
    height: calc(100vh - 5.5rem - 5.025rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
}

//  after iphone 11
@supports (top: constant(safe-area-inset-top)) {
  .overFlowScroll1 {
    height: calc(100vh - 5.5rem - 5.025rem - constant(safe-area-inset-top)- constant(safe-area-inset-bottom));
  }
}

.overFlowScroll2 {
  overflow: scroll;
}

@supports (top: env(safe-area-inset-top)) {
  .overFlowScroll2 {
    height: calc(100vh - 5.5rem - 5.025rem - 4.94rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
}

//  after iphone 11
@supports (top: constant(safe-area-inset-top)) {
  .overFlowScroll2 {
    height: calc(100vh - 5.5rem - 5.025rem - 4.94rem - constant(safe-area-inset-top)- constant(safe-area-inset-bottom));
  }
}

.overFlowScroll3 {
  overflow: scroll;
}

@supports (top: env(safe-area-inset-top)) {
  .overFlowScroll3 {
    height: calc(100vh - 5.5rem - 5.025rem - 3.94rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
}

//  after iphone 11
@supports (top: constant(safe-area-inset-top)) {
  .overFlowScroll3 {
    height: calc(100vh - 5.5rem - 5.025rem - 3.63rem - constant(safe-area-inset-top)- constant(safe-area-inset-bottom));
  }
}

.overFlowScroll4 {
  overflow: scroll;
}

@supports (top: env(safe-area-inset-top)) {
  .overFlowScroll4 {
    height: calc(100vh - 5.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
}

//  after iphone 11
@supports (top: constant(safe-area-inset-top)) {
  .overFlowScroll4 {
    height: calc(100vh - 5.5rem - constant(safe-area-inset-top)- constant(safe-area-inset-bottom));
  }
}
